package com.example.administrator.ttphonehelper.bean;

import java.io.Serializable;
import java.util.Arrays;

/**
 * Created by Administrator on 2016/4/22 0022.
 */
public class ContactBean implements Serializable {
    private int _id;
    private String name;
    private String note;
    private String mobileTel;
    private String homeTel;
    private String workTel;
    private String company;
    private String address;
    private String position;
    private byte[] photo;
    private String email;
    public ContactBean(){};
    public ContactBean(String name, String mobileTel) {
        this.name = name;
        this.mobileTel = mobileTel;

    }

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public byte[] getPhoto() {
        return photo;
    }

    public void setPhoto(byte[] photo) {
        this.photo = photo;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getWorkTel() {
        return workTel;
    }

    public void setWorkTel(String workTel) {
        this.workTel = workTel;
    }

    public String getHomeTel() {
        return homeTel;
    }

    public void setHomeTel(String homeTel) {
        this.homeTel = homeTel;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getMobileTel() {
        return mobileTel;
    }

    public void setMobileTel(String mobileTel) {
        this.mobileTel = mobileTel;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "ContactBean{" +
                "_id=" + _id +
                ", name='" + name + '\'' +
                ", note='" + note + '\'' +
                ", mobileTel='" + mobileTel + '\'' +
                ", homeTel='" + homeTel + '\'' +
                ", workTel='" + workTel + '\'' +
                ", company='" + company + '\'' +
                ", address='" + address + '\'' +
                ", position='" + position + '\'' +
                ", photo=" + Arrays.toString(photo) +
                ", email='" + email + '\'' +
                '}';
    }
}
